<?php
$env =$httphost= '';
$httphost = isset($_SERVER['HTTP_HOST'])?$_SERVER['HTTP_HOST']:'harbour.test.com';
if($httphost == 'amgmt.harbourhome.com.cn'){
    $commonUrl = 'http://172.19.104.177:10004/';
    $userUrl='http://api.harbourhome.com.cn:28082/pms/';
    $env = 'prd';
}elseif ($httphost== 'harbour.uat.com'){
    $commonUrl = 'http://106.15.203.179:10003';
    $userUrl='http://test.pms.harbourhome.com.cn';
    $env = 'uat';
}else{
    $commonUrl = 'http://106.15.203.179:10004';
    $userUrl='http://test.pms.harbourhome.com.cn';
    $env = 'sit';
}

return [
   'env'=>$env,
   'gateway'=>[
        'topic'=>$commonUrl,
        'blog'=>$commonUrl,
        'audit'=>$commonUrl,
        'tag'=>$commonUrl,
        'comment'=>$commonUrl,
        'subject'=>$commonUrl,
        'sensitive'=>$commonUrl,
        'log'=>$commonUrl,
        'user'=>$userUrl,
   ],
];
